
    class A{
        constructor(name,age){
            this.name=name;
            this.age=age;
        }
         getInfo(){
             return this.name;
         }
    }

class B extends A{
        constructor(name,age){
            super(name,age);
        }
        getInfo(){
            return  "this is "+ this.name;
        }
    }

    module.exports={A,B};
    module.exports.default=A;
